package movEat.Generic;



public class Error implements IError {

	private boolean IsFatal;
	private String Reason;
	
	public Error (boolean isFatal, String reason){
		IsFatal = isFatal;
		Reason = reason;
		
	}
	
	
	@Override
	public boolean getIsFatal() {
	
		return IsFatal;
	}

	@Override
	public String getReason() {
		return Reason;
	}

	public void setIsFatal(boolean isFatal) {
		IsFatal = isFatal;
	}

	public void setMessage(String reason) {
		Reason = reason;
	}



	
}
